home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_09_05 / 9n05108a < prev    next >
Text File  |  1991-03-22  |  292b  |  20 lines

  1.  
  2. /*
  3.  * ln_seq.h - line number sequence interface
  4.  */
  5. class ln_seq
  6.     {
  7. public:
  8.     ln_seq();
  9.     void add(unsigned n);
  10.     void print();
  11. private:
  12.     struct listnode
  13.         {
  14.         unsigned number;
  15.         listnode *next;
  16.         };
  17.     listnode *first, *last;
  18.     };
  19.  
  20.